#!/usr/bin/env python

import os
import sys

sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
from runtest_dalton import Filter, TestRun

test = TestRun(__file__, sys.argv)

f = Filter()
f.add(string = '@ gamma',
      abs_tolerance = 1.0e-3)

test.run(['pcm_gamma.dal'], ['OH.mol'], f={'out': f},
         accepted_errors='PCM and cubic response not available')

sys.exit(test.return_code)
